package cn.foolishbird.business.abstraction.exception;

import cn.foolishbird.business.abstraction.exception.base.BaseException;

/**
 * 业务类型错误
 *
 * @author Eric
 * @version 1.0
 * @date 2019-08-18
 */
public class BusinessException extends BaseException {

    public BusinessException(int code, String explain) {
        super(code, explain);
    }

    public BusinessException(String message, int code, String explain) {
        super(message, code, explain);
    }

    public BusinessException(String message, Throwable cause, int code, String explain) {
        super(message, cause, code, explain);
    }

    public BusinessException(Throwable cause, int code, String explain) {
        super(cause, code, explain);
    }

    public BusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, int code, String explain) {
        super(message, cause, enableSuppression, writableStackTrace, code, explain);
    }
}
